<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
		<script>
			var radius = prompt("请输入圆的半径");
			alert("圆的面积是:" + radius * radius * Math.PI);
		</script>
	</body>

</html>